package com.zxy.feiclients.fallback;

import com.zxy.feiclients.StorageService;
import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

/**
 * @author: Zxy
 * @description: 库存服务回调
 * @date: 2021-08-21 13:57
 */
@Component
public class StorageFallback implements FallbackFactory<StorageService> {

    @Override
    public StorageService create(Throwable throwable) {
        return null;
    }
}
